package com.mall.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UsersService extends IService<Users> {

    IPage<Users> findAndCount(Page<Users> page);

    Users findOne( QueryWrapper<Users> wrapper);

}
